import request from '../utils/request'
// 登录
export function login(data) {
  return request({
    url: '/login/denglu',
    method: 'post',
    data
  })
}
// 注册
export function register(data) {
  return request({
    url: '/register/zhuce',
    method: 'post',
    data
  })
}

// 获取用户信息
export function userInfo(data) {
  return request({
    url: '/User/get_userinfo',
    method: 'post',
    data
  })
}
